#ifndef _XBOOK_TYPES_H
#define _XBOOK_TYPES_H

typedef long pid_t;
typedef unsigned long flags_t;
typedef unsigned long off_t;         //偏移类型的变量
typedef unsigned long blksize_t;
typedef unsigned long blkcnt_t;
typedef long clock_t;
typedef long time_t;
typedef int clockid_t;
typedef unsigned long addr_t;

typedef unsigned int uid_t;
typedef unsigned int gid_t;
typedef unsigned long useconds_t;

typedef long long   loff_t;
/* 在线程中作为形参 */
typedef void thread_func_t(void *);

#endif  /* _XBOOK_TYPES_H */
